<?php /* Smarty version 2.6.16, created on 2009-04-25 12:24:08
         compiled from NewBlogs.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'NewBlogs.html', 7, false),array('function', 'url', 'NewBlogs.html', 20, false),array('function', 'module', 'NewBlogs.html', 21, false),array('modifier', 'truncate', 'NewBlogs.html', 25, false),array('modifier', 'process_code', 'NewBlogs.html', 25, false),array('modifier', 'default', 'NewBlogs.html', 25, false),array('modifier', 'escape', 'NewBlogs.html', 25, false),array('modifier', 'date_format', 'NewBlogs.html', 26, false),array('modifier', 'strip_tags', 'NewBlogs.html', 27, false),)), $this); ?>
<table style="width: 100%;" cellpadding="4" cellspacing="0">
    <tr>
        <td class="border2">
            <table style="width: 100%;cursor:pointer;" cellpadding="0" cellspacing="0" border="0" onclick="SwitchMenu('sub8','hidetext8')">
                <tr>
                    <td width="7"><img src="design/pic/blogs.jpg" alt="" height="35" width="35" /></td>
                    <td class="block_header">&nbsp;<?php echo smarty_function_language(array('text' => 'new_blogs'), $this);?>
</td>
                    <td style="text-align:right;padding-right:4px;"><span class="cur" id="hidetext8">[-]</span></td>
                </tr>
            </table>
<div class="submenu" id="sub8">
 				<table style="width:100%;height:270px;" cellspacing="0" cellpadding="0">
 				<tr>
 				<td style="font-size:7pt;vertical-align:top;">
 					<br />
<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aitems'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aitems']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aItem']):
        $this->_foreach['aitems']['iteration']++;
?>
<table style="width:100%;" class="border5">
	<tr>
		<td style="width:5%;">
			<a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
">
            	<?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aItem']['user'],'iSize' => 60,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aItem']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

            </a>
 		</td>
 		<td class="color" style="font-size:11pt;vertical-align:top;width:95%;">
 			<a href="<?php echo smarty_function_url(array('link' => 'public.blog.view','id' => $this->_tpl_vars['aItem']['id']), $this);?>
"><b><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, '25') : smarty_modifier_truncate($_tmp, '25')))) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp) : smarty_modifier_default($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</b></a>
 			<div style="font-size:8pt;"><?php echo smarty_function_language(array('text' => 'Mod_Blog.by'), $this);?>
: <?php echo $this->_tpl_vars['aItem']['user']; ?>
 <?php echo smarty_function_language(array('text' => 'Mod_Blog.posted_on'), $this);?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['sDateTimeFormat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['sDateTimeFormat'])); ?>
</div>
			<div style="font-size:10pt;"><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['text'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)))) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, '100') : smarty_modifier_truncate($_tmp, '100')); ?>
</div>
			
		
 		</td>
 	</tr>
</table>
<br/>
<?php endforeach; else: ?>
<div class="message_info">
<?php echo smarty_function_language(array('text' => 'there_are_no_blogs_yet'), $this);?>

</div>
<?php endif; unset($_from); ?>
 					<br/> 				</td>
 				</tr>
 				<tr>
 				<td style="vertical-align: bottom;">
 					<div style="font-size:7pt;text-align:right;">
 					<a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.submit.add-blog'), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'add_your_blog'), $this);?>
 ]</a>
 					</div>
 				</td>
 				</tr>
 				</table>
 				</div>
        </td>
    </tr>
</table>
<br />